From 496477ebda3f6c347a9944e22daae447d15ebc31 Mon Sep 17 00:00:00 2001 From: Pitu Date: Mon, 11 May 2020 00:57:56 +0900 Subject: Feature: enable apiKey access to uploads and album fetching for the uploader/sharex/3rd party --- src/api/databaseMigration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api/databaseMigration.js') diff --git a/src/api/databaseMigration.js b/src/api/databaseMigration.js index 75611f3..5cf4b39 100644 --- a/src/api/databaseMigration.js +++ b/src/api/databaseMigration.js @@ -51,7 +51,7 @@ const start = async () => { password: user.password, enabled: user.enabled == 1 ? true : false, isAdmin: false, - apiKey: user.token, // Is this the best way to do it? + apiKey: user.token, passwordEditedAt: now, apiKeyEditedAt: now, createdAt: now, -- cgit v1.2.3