Skip to content

Commit

Permalink
Change Auth Info
Browse files Browse the repository at this point in the history
  • Loading branch information
Hossara committed Jun 10, 2022
1 parent 118f5bc commit 24b6d47
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 13 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
id("org.springframework.boot") version "2.5.5"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,8 @@ class AccountController
{
val notification: Notification? = company.notifications!!.find { it.id == "$id$counter" }

if (notification != null)
{
counter++
}
else
{
break
}
if (notification != null) counter++
else break
}

id = "$id$counter"
Expand Down
5 changes: 3 additions & 2 deletions src/main/kotlin/org/yastech/weeki/service/ProductService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ class ProductService
max_am: Long,
min_ppk: Long,
max_ppk: Long,
): MutableList<Product>?{

)
: MutableList<Product>?
{
// Check Buyer / Seller Value
val filterQueries = Criteria.where("bs").`is`(bs)

Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
spring.data.mongodb.database=weeki
spring.data.mongodb.host=157.90.200.228
spring.data.mongodb.port=27017
spring.data.mongodb.username=admin
spring.data.mongodb.password=LbEXuHXs9MQmbSaTTMhD8bjhiYeeSW
spring.data.mongodb.username=hossara84
spring.data.mongodb.password=WeekiHossara841q2w3e4r5t
spring.data.mongodb.authentication-database=admin

# File Protocol Configuration
Expand Down

0 comments on commit 24b6d47

Please sign in to comment.