Add unlock premium API

This commit is contained in:
Jonas Lochmann
2020-01-20 09:19:01 +01:00
parent db9c981521
commit f2c8a3043f
3 changed files with 60 additions and 6 deletions
+2 -3
View File
@@ -1,6 +1,6 @@
/*
* server component for the TimeLimit App
* Copyright (C) 2019 Jonas Lochmann
* Copyright (C) 2019 - 2020 Jonas Lochmann
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
@@ -48,8 +48,7 @@ export const signInIntoFamily = async ({ database, mailAuthToken, newDeviceInfo,
const userEntry = {
familyId: userEntryUnsafe.familyId,
userId: userEntryUnsafe.userId,
transaction
userId: userEntryUnsafe.userId
}
const deviceAuthToken = generateAuthToken()