|
@@ -184,7 +184,7 @@ export class UserData {
|
|
|
this.nativeHttp.setDataSerializer('json');
|
|
|
const headers = { Authorization: `Bearer ${token}`, 'Content-Type': 'application/json;charset=UTF-8' };
|
|
|
return new Promise((resolve, reject) => {
|
|
|
- from(this.nativeHttp.post(`${environment.APP_SERVE_URL}/production/sample/factory/pCode`,
|
|
|
+ from(this.nativeHttp.get(`${environment.APP_SERVE_URL}/production/sample/factory/pCode`,
|
|
|
data,
|
|
|
headers)).pipe(
|
|
|
finalize(() => loading.dismiss() )
|