Skip to content

Commit

Permalink
fixed method name in sampple helper (Azure#38594)
Browse files Browse the repository at this point in the history
Co-authored-by: Austin Lynch <[email protected]>
  • Loading branch information
2 people authored and yaotongms committed Oct 12, 2023
1 parent 3179ad8 commit 1c76ce2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ internal static async Task<string> GetUniqueTwinIdAsync(string baseName, Digital

internal static async Task<string> GetUniqueJobIdAsync(string baseName, DigitalTwinsClient client)
{
return await GetUniqueIdAsync(baseName, (jobId) => client.GetImportJobsByIdAsync(jobId));
return await GetUniqueIdAsync(baseName, (jobId) => client.GetImportJobAsync(jobId));
}

private static async Task<string> GetUniqueIdAsync(string baseName, Func<string, Task> getResource)
Expand Down

0 comments on commit 1c76ce2

Please sign in to comment.