store the hashed accessKey in the database

This commit is contained in:
Dieter Stinglhamber 2021-08-27 16:23:19 +02:00
parent b50afb69d5
commit ca668c78e8

View File

@ -11,7 +11,7 @@ describe('API Token Controller', () => {
type: 'read-only',
};
test('Fails if API Token already exist', async () => {
test('Fails if API Token already exists', async () => {
const exists = jest.fn(() => true);
const badRequest = jest.fn();
const ctx = createContext({ body }, { badRequest });