ref: change auth setting in Login Screen

This commit is contained in:
Luis Felipe Cadavid 2024-09-24 17:35:35 -05:00
parent 9d31ea245c
commit 12c90ff120
26 changed files with 1149 additions and 99 deletions

View file

@ -4,6 +4,14 @@ export class ReturnService<T> {
errorCode: number
object: T
/**
* Constructs an instance of the ReturnService class.
*
* @param object - The object of type T to be returned.
* @param correct - A boolean indicating if the operation was correct. Defaults to true.
* @param message - A message providing additional information. Defaults to an empty string.
* @param errorCode - An error code associated with the operation. Defaults to 0.
*/
constructor(object: T, correct = true, message = "", errorCode = 0) {
this.correct = correct
this.message = message