API 1.0.49 FirebaseRegistrationToken

This commit is contained in:
Tibor Bossanyi (Freelancer)
2021-09-07 17:20:18 +02:00
parent 9f6df1ff5a
commit 3ace3eeeba
8 changed files with 20 additions and 4 deletions
@@ -123,6 +123,9 @@ class CustomerController ( private val customerRepository: CustomerRepository) {
if (newCustomer.trialDate != null) {
updatedCustomer.trialDate = newCustomer.trialDate
}
if (newCustomer.firebaseRegToken != null) {
updatedCustomer.firebaseRegToken = newCustomer.firebaseRegToken
}
updatedCustomer.sex = newCustomer.sex
updatedCustomer.birthYear = newCustomer.birthYear
updatedCustomer.fitnessLevel = newCustomer.fitnessLevel
@@ -28,6 +28,7 @@ data class Customer (
@Expose var emailSubscription: Int? = 0,
@Expose var syncedDate: String? = null,
@Expose var trialDate: String? = null,
@Expose var firebaseRegToken: String? = null,
@Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Expose var customerId: Long = 0,
)
@@ -17,6 +17,6 @@ logging.config=classpath:logback-spring.xml
logging.file=logs
# if the database structure has been changed, increment this version number
application.version=1.0.48
application.version=1.0.49
jwt.secret=aitrainer
+1 -1
View File
@@ -17,7 +17,7 @@ logging.config=classpath:logback-spring.xml
logging.file=logs
# if the database structure has been changed, increment this version number
application.version=1.0.48
application.version=1.0.49
jwt.secret=aitrainer
jasypt.encryptor.password=Tibor